package com.dk.api;

import com.dk.pojo.MdVendor;
import com.dk.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("mes-user")
public interface UserServiceAPI {
    @PostMapping("/user/selectUserAll")
    Result selectUserAll();

    @GetMapping("/vendor/selectByVendorCode")
    MdVendor selectByVendorCode(@RequestParam String vendorCode);
}
